<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
    <title>黑马面面</title>
</head>

<body>
    <script src="js/swiper.min.js"></script>
    <script src="js/flexible.js"></script>
    <!-- 头部区域 -->
    <header>黑马面面</header>

    <!-- nav区域 -->
    <nav>
        <div><a href="#"></a>HR面试</div>
        <div><a href="#"></a>笔试</div>
        <div><a href="#"></a>技术面试</div>
        <div><a href="#"></a>模拟面试</div>
        <div><a href="#"></a>面试技巧</div>
        <div><a href="#"></a>薪资查询</div>
    </nav>

    <!-- go模块 -->
    <div class="go"><img src="images/go.png" alt=""></div>
    </div>

    <!-- 就业指导模块 -->
    <section class="content">
        <!-- 头部 -->
        <div class="content-hd">
            <span>就业指导</span>
            <a href="">更多&gt;&gt;</a>
        </div>
        <!-- 轮播图 -->
        <div class="content-bd">
            <!-- Swiper -->
            <div class="swiper-container con-bd">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic.png" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic1.png" alt=""></a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic2.png" alt=""></a>
                    </div>
                </div>
            </div>
            <!-- Add 左右箭头 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>

    <!-- 充电学习模块 -->
    <section class="content study-con">
        <!-- 头部 -->
        <div class="content-hd">
            <span>充电学习</span>
            <a href="">更多&gt;&gt;</a>
        </div>
        <!-- 学习轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic1.png" alt=""></a>
                        <h5>说地道英语，告别中式英语</h5>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic2.png" alt=""></a>
                        <h5>思维攻略金字塔思维提高写作能力</h5>
                        <p><span>125</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic.png" alt=""></a>
                        <h5>思维攻略金字塔思维提高写作能力</h5>
                        <p><span>125</span>人学习</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>

    <!-- 底部模块 -->
    <footer class="footer">
        <a href="#"><img src="icons/home.png" alt=""><span>首页</span></a>
        <a href="#"><img src="icons/net.png" alt=""><span>技术面试</span></a>
        <a href="#"><img src="icons/ms.png" alt=""><span>模拟面试</span></a>
        <a href="#"><img src="icons/user.png" alt=""><span>我的主页</span></a>
    </footer>

    <!-- 函数轮播图 -->
    <script>
        // 第一个函数里面是  就业指导轮播图
        (function () {
            var swiper = new Swiper('.con-bd', {
                // 能给显示的图片个数
                slidesPerView: 2,
                // 每个图片的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();
        // 第二个函数轮播图
        (function () {
            var swiper = new Swiper('.study_fo', {
                slidesPerView: 2.2,
                spaceBetween: 20,
            });
        })();
    </script>
</body>

</html>